package cn.avalon.feign;

import cn.avalon.domain.PurchaseApply;
import cn.avalon.result.JSONResult;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestMethod;

/**
 * @description:
 * @author: Avalon
 * @date: 2022年09月29日 ： 16:12
 * @version: ver1.0
 * @email 709785494@qq.com
 */
@FeignClient("service-purchase")
public interface PurchaseService {

    @RequestMapping(value="/purchaseApply/save",method= RequestMethod.POST)
    JSONResult saveOrUpdate(@RequestBody PurchaseApply purchaseApply);
}
